package com.regal.packet;

import org.jivesoftware.smack.packet.PacketExtension;
import org.jivesoftware.smack.provider.PacketExtensionProvider;
import org.xmlpull.v1.XmlPullParser;

public class ConferencePushProvider implements PacketExtensionProvider
{

    public ConferencePushProvider()
    {
    }

    public PacketExtension parseExtension(XmlPullParser parser)
        throws Exception
    {   
        String title = parser.getAttributeValue("", "title");
        String jid = parser.getAttributeValue("", "jid");
        
        return new ConferencePush(title,jid);    	
    }
}    